<%--
  Created by IntelliJ IDEA.
  User: Xun
  Date: 2015/4/28
  Time: 14:37
  用户注册模块
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>drrr用户注册</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="css/register.css">
    <script>


        function check(){

            if(document.getElementById("password").value!= document.getElementById("repassword").value)
            {
                alert("两次密码不一样");
            }
        }

    </script>
</head>
<body>



<div id="logo-style">
    <img src="images/logo.png"  width="350" height="350"/>

</div>


<form action="register" method="post" name="registerForm" class="register-form1">

    <label class="username">
        <span >username</span>
        <input id="username" type="text" name="username" />
    </label>
    <label class="password">
        <span>password</span>
        <input id="password" type="password" name="password" />
    </label>
    <label class="repassword">
        <span>&nbsp;&nbsp;comfirm</span>
        <input id="repassword" type="password" name="repassword" />
    </label>
    <label class="email">
        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email</span>
        <input id="email" type="email" name="email" />
    </label>

    <button id="post-button" type="submit" >REGISTER</button>

</form>
<div id="denglu">
    <a href="login.jsp">Login</a>
</div>



<%--<s:form name="registerForm" action="register" method="POST">--%>
<%--<s:label for="username" value="用户名："/>--%>
<%--<s:textfield name="username"/><br/>--%>
<%--<s:label for="password" value="密码："/>--%>
<%--<s:textfield type="password" name="password"/><br/>--%>
<%--<label for="repassword">确认密码：</label>--%>
<%--<input type="password" id="repassword"/><br/>--%>
<%--<s:label for="email" value="邮箱："/>--%>
<%--<s:textfield name="email" type="email"/><br/>--%>
<%--<button type="submit">注册</button>--%>
<%--<span>已有账号？<s:a href="login.jsp">登陆</s:a> </span>--%>
<%--</s:form>--%>


</body>
</html>
